export default {
  // 承运商表表格
  carrier: {
    code: '承运商编号',
    name: '承运商名称',
    personName: '联系人',
    phone: '联系人电话',
    email: '联系邮箱',
    location: '省/市/区',
    address: '详细地址',
    updateTime: '更新时间'
  },
  // 承运商表单
  carrierForm: {
    like_code: '承运商编号',
    like_name: '承运商名称',
    like_personName: '联系人'
    // like_personNam2e: '联系人'
    // like_personNa3me: '联系人'
  },
  // 货主操作
  ownerMethod: {
    detailOwner: '查看详情',
    updateOwner: '编辑',
    delOwner: '删除'
  },
  // 货主表格
  owner: {
    code: '货主编号',
    name: '货主名称',
    personName: '联系人',
    phone: '联系人电话',
    email: '联系邮箱',
    location: '省/市/区',
    address: '详细地址',
    updateTime: '更新时间'
  },
  // 货主表单
  ownerForm: {
    like_code: '货主编号',
    like_name: '货主名称',
    like_personName: '联系人'
  },
  // 货主增加表单
  ownerAddnew: {
    code: { name: '货主编号', disable: true, span: 6 },
    name: { name: '货主名称', disable: false, span: 6 },
    personName: { name: '联系人', disable: false, span: 6 },
    phone: { name: '联系人电话', disable: false, span: 6 },
    email: { name: '联系邮箱', disable: false, span: 6 },
    location: { name: '省/市/区', disable: false, span: 6, type: 'cascader' },
    address: { name: '详细地址', disable: false, span: 12 },
    remark: { name: '备注', disable: false, span: 13 }
  },
  // 货主增加表单验证规则
  ownerRules: {
    code: [
      { required: true, message: '请输入', trigger: 'blur' }
    ],
    name: [
      { required: true, message: '请输入', trigger: 'blur' }
    ],
    personName: [
      { required: true, message: '请输入', trigger: 'blur' }
    ],
    phone: [
      { required: true, message: '请输入', trigger: 'blur' },
      { len: 11, message: '11位手机号', trigger: 'blur' }
    ],
    email: [
      { required: false, message: '请输入', trigger: 'blur' }
    ],
    location: [
      { required: true, message: '请输入', trigger: 'blur' }
    ],
    address: [
      { required: false, message: '请输入', trigger: 'blur' }
    ],
    remark: [
      { required: false, message: '请输入', trigger: 'blur' }
    ]
  }
}
